#pragma once

#include <string>

struct Warrant
{
public:
    enum Type
    {
        call,
        put
    };
public:
    Warrant()
    {}

    Warrant(
        std::string     stockId,
        Type            type,
        std::string     id,
        double          strikePrice,
        double          lastPrice,
        double          entRatio
        )
    : m_stockId     ( stockId ),
      m_type        ( type ),
      m_id          ( id ),
      m_strikePrice ( strikePrice ),
      m_lastPrice   ( lastPrice ),
      m_entRatio    ( entRatio )
    {}

public:
    std::string     m_stockId;
    Type            m_type;
    std::string     m_id;
    double          m_strikePrice;
    double          m_lastPrice;
    double          m_entRatio;
};

